package com.scy.java.object;

public class PersonDemo {
    public static void main(String[] args) {
        //创建Person
        Person p1 = new Person();
//        p1.name = "rose";
        p1.setAge(13);
//        p1.sex = '女';
        //调用方法
//        p1.study();
        System.out.println(p1.getAge());
//        int age = p1.showAge();
//        System.out.println(age);
//        p1.addAge(2);
    }
}
